package com.uam.db.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TASK_STAT")
@ApiModel(value = "任务统计")
public class TaskStat {
    @TableId(value = "STATUS")
    @ApiModelProperty("任务状态，0：待起飞、1：飞行中、2：避让、3：降落、4：完成、5：拒绝、6：取消")
    private Long status;
    @TableField(value = "NUM")
    @ApiModelProperty("任务数")
    private Long num;
    @TableField(value = "TIME")
    @ApiModelProperty("统计时间")
    private LocalDateTime time;
}
